package com.xk.meeting.service;

import com.xk.meeting.entity.Apply;
import com.xk.meeting.entityutils.ListPage;
import com.xk.meeting.entityutils.PageBean;
import com.xk.meeting.entityutils.ApplyList;
import com.xk.meeting.entityutils.DateTime;

import java.util.List;
import java.util.Map;

public interface ApplyService {
    int addApply(Apply apply);

    /*List<ApplyList> getApplyList();*/
    ListPage<ApplyList> getApplyList(int currentPage, int rows);

    ApplyList getApplyList(int id);

    int changeStatus(int id, int status);

    boolean isExistTime(String start, String end, String mid);

    Map<String, PageBean> getPageBean(int mid, DateTime datetime);

    int getcount();

    int getUid(int id);

    String getMeetingName(int id);

    String getDateTime(int id);

    int getTotalPage(int rows);
}
